from user import User
class Privileges():
    def __init__(self):
        self.privileges = [" can add post", " can delete post", " can ban user"]

    def show_privileges(self):
        i = 0
        while i < len(self.privileges):
            print(self.privileges[i])
            i += 1
class Admin(User):
    def __init__(self, name1, name2):
        super().__init__(name1, name2)
        self.privileges = Privileges()

